//********************************************************
// PopupMenu.java
// Date: 4/4/2012
// Author: Jeff Xiong
//********************************************************
// Landscape class to hold game land information
// ******************************************************
package functionality;

public class LandScape {
	private final String _type;
	
	//-1 value means knights cannot go onto tile
	private final int knightsReq;
	
	/**
	 * Constructor for Landscape object
	 * 
	 * @param string type of land and knights required to move onto land
	 * @return LandScape object 
	 */
	public LandScape(String t, int x)
	{
		_type=t;
		knightsReq=x;
	}
	
	/**
	 * Get the number of knights required for a tile
	 * 
	 * @param none
	 * @return int number of knights required for a tile
	 */
	public int getKnightsReq()
	{
		return knightsReq;
	}
	
	/**
	 * Get land type of tile
	 * 
	 * @param none
	 * @return String of the land type of tile
	 */
	public String getLandType()
	{
		return _type;
	}

}
